<?php
class Controller
{
    protected $_smarty;
    public function __construct()
    {
        $this->_smarty = new Smarty();
    }
    protected function assign($key,$value)
    {
    	$this->_smarty->assign($key,$value);

    }
    protected function display($tpl)
    {
        $this->_smarty->display('./app/Home/view/' . SB . '/'.$tpl.'.html');
    }

}
